package com.learn.mapper;

import com.learn.pojo.User;

import java.util.List;

/**
 * @author DJJ_F
 * @version 1.0
 * @date 2025/02/21
 * @description 相当于dao接口
 */
public interface UserMapper {
    List<User> selectLike(String like);
    int deleteBatch(String ids);
    List<User> selectAllOrdered(String order);
    List<User> selectAllTableName(String prefix);
    int insert(User user);
    int delete(Integer id);
    int update(User user);
    User selectOne(Integer id);
    List<User> selectAll();
}
